import request from '@/utils/request'
// 签到复制接口复制文档复制地址
// POST
// /app-api/member/sign-in/record/create
export function createSignInRecord(data) {
	return request({
		url: '/app-api/member/sign-in/record/create',
		'method': 'post',
		'data': data
	})
}
// 获得签到记录分页复制接口复制文档复制地址
// GET
// /app-api/member/sign-in/record/page
export function getSignInRecordPage(data) {
	return request({
		url: '/app-api/member/sign-in/record/page',
		'method': 'post',
		'data': data
	})
}
// 获得个人签到统计复制接口复制文档复制地址
// GET
// /app-api/member/sign-in/record/get-summary
export function getSignInRecordSummary(data) {
	return request({
		url: '/app-api/member/sign-in/record/get-summary',
		'method': 'get',
		'data': data
	})
}
// 浏览和分享的积分 统计复制接口复制文档复制地址
// POST
// /app-api/member/points/stacking
export function pointsStacking(data) {
	return request({
		url: '/app-api/member/points/stacking',
		'method': 'post',
		'data': data
	})
}
// 获取积分任务剩余次数复制接口复制文档复制地址
// GET
// /app-api/member/points/remain/times
export function pointsRemainTimes(data) {
	return request({
		url: '/app-api/member/sign-in/record/remain/times',
		'method': 'get',
		'data': data
	})
}
// 获取当前日期是否是节日复制接口复制文档复制地址
// GET
// /app-api/member/sign-in/record/holiday
export function signInRecordHoliday(data) {
	return request({
		url: '/app-api/member/sign-in/record/holiday',
		'method': 'get',
		'data': data,
		headers: {
			isToken: false
		}
	})
}
// /member/point/record/page
// 积分明细
export function pointRecordPage(data) {
	return request({
		url: '/app-api/member/point/record/page',
		'method': 'get',
		'data': data
	})
}
// /member/sign-in/record/supplement/sign
// 补签
export function supplementSign(data) {
	return request({
		url: '/app-api/member/sign-in/record/supplement/sign',
		'method': 'post',
		'data': data
	})
}
// /app-api/member/point/record/stacking
// 浏览和分享的积分 统计
export function stacking(data) {
	return request({
		url: '/app-api/member/point/record/stacking',
		'method': 'post',
		'data': data
	})
}